//
//  MJStatusResult.m
//  字典与模型的互转
//
//  Created by MJ Lee on 14-5-21.
//  Copyright (c) 2014年 小码哥. All rights reserved.
//

#import "MJStatusResult.h"
#import "MJStatus.h"
#import "MJAd.h"

@implementation MJStatusResult

// Tell MJExtension what type of model will be contained in statuses and ads.
+ (NSDictionary *)mj_objectClassInArray{
    return @{
             @"statuses" : @"MJStatus",
             @"ads" : @"MJAd"
             };
}

-(void)description {
    NSLog(@"totalNumber=%@, previousCursor=%lli, nextCursor=%lli",_totalNumber, _previousCursor, _nextCursor);

    for (MJStatus *status in _statuses) {
        [status description];
    }
    
    for (MJAd *ad in _ads) {
        [ad description];
    }
}
          
@end
